P=[2 0 4 5 6];
A=compan(P)%伴随矩阵